<template>
  <!-- 联系管理员 -->
  <div class="tab-bar">
    <el-dialog
    class="pick-dialog"
    title="联系管理员"
    :visible.sync="dialogVisible"
    :close-on-click-modal="false"
    append-to-body
    width="600px"
  >
  <div style="text-align: center; margin-top: 12px">
        <div
          style="
            font-size: 18px;
            padding: 0 0 18px 0;
            text-align: center;
          "
        >
          联系手机号：{{lianxiObj.shangwuDH&&lianxiObj.shangwuDH.dictValue}}
        </div>
        <div
          style="
            font-size: 18px;
            padding: 0 0 18px 0;
            text-align: center;
          "
        >
          联系微信号：{{lianxiObj.shangwuDH&&lianxiObj.shangwuVX.dictValue}}
        </div>
      </div>
  </el-dialog>
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {
      dialogVisible: false,
      lianxiObj:{},
    };
  },

  created() {this.getData()},
  methods: {
    open(){
      this.dialogVisible = true
    },
    getData(){
      this.getDicts('byfw').then(r=>{
        if(r.data&&r.data.length){
          this.lianxiObj = this.arrayToObject(r.data,'dictLabel')
        }
      })
    }
  },
};
</script>

<style scoped lang="scss">

</style>
